package crd

import (
	"gitee.com/pkg/root"
	"gitee.com/pkg/utils/flag"
	"gitee.com/pkg/vvlog"
	"github.com/spf13/cobra"
)

var (
	logger     = vvlog.NewLogger("crd.go")
	newFileCmd = &cobra.Command{
		Use:   "crd",
		Short: "crd demo",
		RunE: func(c *cobra.Command, args []string) error {
			flag.PrintFlags(c.Flags())
			logger.Info("to do ")
			return runc()
		},
	}
)

func init() {
	//servCmd.PersistentFlags().StringVar(&sslKey, "key", "", "serv's ssl key")
	root.AddCmd(newFileCmd)
}

func runc() error {

	return nil
}
